﻿using Furion.DependencyInjection;
using Magic.Core.Entity;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Magic.Core.Service;

public interface ISysOrgService : ITransient
{
    Task AddOrg(AddOrgInput input);
    Task DeleteOrg(DeleteOrgInput input);
    Task<List<long>> GetDataScopeListByDataScopeType(int dataScopeType, long orgId);
    Task<SysOrg> GetOrg(QueryOrgInput input);
    Task<List<OrgOutput>> GetOrgList(OrgInput input);
    Task<dynamic> GetOrgTree(OrgInput input);
    Task<dynamic> QueryOrgPageList(PageOrgInput input);
    Task UpdateOrg(UpdateOrgInput input);
    Task<List<long>> GetAllDataScopeIdList();
}
